<!DOCTYPE >
<html   lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8" content="">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <title>模板界面</title>
    <meta content="" name="descriptison">
    <meta content="" name="keywords">

    <!-- Favicons -->
    <link th:href="@{/assets/img/favicon.png}" rel="icon">
    <link th:href="@{/assets/img/apple-touch-icon.png}" rel="apple-touch-icon">

    <!-- Google Fonts -->
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,600,600i,700,700i,900" rel="stylesheet">

    <!-- Vendor CSS Files -->
    <link th:href="@{/assets/vendor/bootstrap/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/assets/vendor/icofont/icofont.min.css}" rel="stylesheet">
    <link th:href="@{/assets/vendor/boxicons/css/boxicons.min.css}" rel="stylesheet">
    <link th:href="@{/assets/vendor/animate.css/animate.min.css}" rel="stylesheet">
    <link th:href="@{/assets/vendor/venobox/venobox.css}" rel="stylesheet">
    <link th:href="@{/assets/vendor/aos/aos.css}" rel="stylesheet">

    <!-- Template Main CSS File -->
    <link th:href="@{/assets/css/style.css}" rel="stylesheet">

</head>

<body>

<!-- ======= Header ======= -->
<header id="header">
    <div class="container">

        <div class="logo float-left">
            <h1 class="text-light"><a href=""><span th:text="${user.userName}"></span></a></h1>
        </div>

        <nav class="nav-menu float-right d-none d-lg-block">
            <ul>
                <li class="active"><a th:href="@{/index}">主页</a></li>
                <li><a th:href="@{/user/findAllMenu}">开始点餐</a></li>
                <li><a th:href="@{/user/findUserIndent(userId=${session.user.getId()})}">我的订单</a></li>
                <li><a th:href="@{/user/userMessage(id=${session.user.getId()})}">个人信息</a></li>
                <li><a th:href="@{/}">关于网站</a></li>
            </ul>
        </nav><!-- .nav-menu -->

    </div>
</header><!-- End Header -->

<!-- ======= Our Team Section ======= -->
<section id="team" class="team">
    <div class="container">

        <div class="section-title">
            <h2>用户首页</h2>
            <p>基于springboot、thymeleaf、mybatis的在线点餐</p>
        </div>
<!--        <span th:text="${user.userName}"></span>-->

        <!-- ======= Counts Section ======= -->
        <section class="counts section-bg">
            <div class="container">

                <div class="row">

                    <div class="col-lg-3 col-md-6 text-center" data-aos="fade-up">
                        <a th:href="@{/user/findAllMenu}">
                            <div class="count-box">
                                <i class="icofont-simple-smile" style="color: #20b38e;"></i>
                                <p>开始点单</p>
                            </div>
                        </a>
                    </div>

                    <div class="col-lg-3 col-md-6 text-center" data-aos="fade-up" data-aos-delay="200">
                        <a th:href="@{/user/findUserIndent(userId=${session.user.getId()})}">
                            <div class="count-box">
                                <i class="icofont-document-folder" style="color: #c042ff;"></i>
                                <p>我的订单</p>
                            </div>
                        </a>
                    </div>

                    <div class="col-lg-3 col-md-6 text-center" data-aos="fade-up" data-aos-delay="400">
                        <a th:href="@{/user/userMessage(id=${session.user.getId()})}">
                            <div class="count-box">
                                <i class="icofont-live-support" style="color: #46d1ff;"></i>
                                <p>个人信息</p>
                            </div>
                        </a>
                    </div>

                    <div class="col-lg-3 col-md-6 text-center" data-aos="fade-up" data-aos-delay="600">
                        <a href="/">
                            <div class="count-box">
                                <i class="icofont-users-alt-5" style="color: #ffb459;"></i>
                                <p>关于我们</p>
                            </div>
                        </a>
                    </div>

                </div>

            </div>
        </section><!-- End Counts Section -->


    </div>
</section><!-- End Our Team Section -->
<br /><br /><br /><br /><br /><br />

<!-- ======= Footer ======= -->
<footer id="footer">


    <div class="container">
        <div class="copyright">
            &copy; Copyright <strong><span>Mamba</span></strong>. All Rights Reserved
        </div>
        <div class="credits">

            Designed by <a href="https://bootstrapmade.com/">BootstrapMade</a>
        </div>
    </div>
</footer><!-- End Footer -->

<a href="#" class="back-to-top"><i class="icofont-simple-up"></i></a>

<!-- Vendor JS Files -->
<script th:src="@{/assets/vendor/jquery/jquery.min.js}"></script>
<script th:src="@{/assets/vendor/bootstrap/js/bootstrap.bundle.min.js}"></script>
<script th:src="@{/assets/vendor/jquery.easing/jquery.easing.min.js}"></script>
<script th:src="@{/assets/vendor/php-email-form/validate.js}"></script>
<script th:src="@{/assets/vendor/jquery-sticky/jquery.sticky.js}"></script>
<script th:src="@{/assets/vendor/venobox/venobox.min.js}"></script>
<script th:src="@{/assets/vendor/waypoints/jquery.waypoints.min.js}"></script>
<script th:src="@{/assets/vendor/counterup/counterup.min.js}"></script>
<script th:src="@{/assets/vendor/isotope-layout/isotope.pkgd.min.js}"></script>
<script th:src="@{/assets/vendor/aos/aos.js}"></script>

<!-- Template Main JS File -->
<script th:src="@{/assets/js/main.js}"></script>

</body>

</html>

